-- GENERATED SPELL FOR [Horde Deforester] --


function spell0_11681(pUnit, Event) --@Sunder Armor,n/a--
pUnit:FullCastSpellOnTarget(11971,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11681', 30257, 1)
end

function Sorts_11681(pUnit, Event)
local choix_sorts_11681 = math.random(0, 0)
if choix_sorts_11681 == 0 then
pUnit:RegisterEvent('spell0_11681', 1, 1)
end
end

function mob11681_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11681', math.random(1500, 3000), 1)
end

function mob11681_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11681_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11681_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11681, 1, 'mob11681_Action')
RegisterUnitEvent(11681, 2, 'mob11681_Leave')
RegisterUnitEvent(11681, 3, 'mob11681_Kill')
RegisterUnitEvent(11681, 4, 'mob11681_Die')
